import ajax from '@/libs/ajax'

/**
 * 票价id查票价
 * @param {number} id
 */
// const API_TICKET_PRICE = (id) => ajax('/pub/ticketPrice/getTicketPriceById', 'get', { id })

/**
 * 场馆查票价
 * @param {number} itemId
 */
const API_TICKET_PRICE_LIST = (itemId) => ajax('/pub/ticketPrice/getTicketPriceListByItemId', 'get', { itemId })

const API_BOOKING_ORDER = (data) => ajax('/v1/orderInfo/bookingOrder', 'post', data)

export {
  // API_TICKET_PRICE,
  API_TICKET_PRICE_LIST,
  API_BOOKING_ORDER
}
